package com.qikux.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.haredot.annotation.Column;

@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public class UserScore extends Entity{
    /**
     * 积分来源
     */
    private String action ;
    /**
     * 积分数量
     */
    private int score ;

    /**
     * 资源ID
     */
    @Column("res_id")
    private Long resId ;

    /**
     * 用户ID
     */
    @Column("user_id")
    private Long userId ;
}
